#ifndef EXPCATVIEW_H
#define EXPCATVIEW_H

#include"db_class.h"
#include"expbycat.h"
#include"expdetails.h"

#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class ExpCatView;
}

class ExpCatView : public QMainWindow
{
    Q_OBJECT

public:
    explicit ExpCatView(int id1,QString name1,QWidget *parent = 0);
    ~ExpCatView();

private:
    Ui::ExpCatView *ui;
    db_class db;
    int id;
    QString name;
    QListWidgetItem *item1;


private slots:
    void on_listWidget_itemActivated(QListWidgetItem* item);
    void back();
};

#endif // EXPCATVIEW_H
